.class public Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog;
.super Ljava/lang/Object;
.source "NumberChooserDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$OnNumberSelectListener;
    }
.end annotation


# direct methods
.method public static show(Landroid/content/Context;FFFLlt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$OnNumberSelectListener;)V
    .locals 9

    .line 23
    new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f110111

    .line 24
    invoke-virtual {p0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;

    const v1, 0x7f110112

    .line 25
    invoke-virtual {p0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 27
    new-instance v4, Landroid/widget/EditText;

    invoke-direct {v4, p0}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V

    const/16 v1, 0x2002

    .line 28
    invoke-virtual {v4, v1}, Landroid/widget/EditText;->setInputType(I)V

    .line 29
    invoke-virtual {v0, v4}, Landroidx/appcompat/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 30
    invoke-static {p1}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v4, p1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    const p1, 0x7f110174

    .line 32
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v1, Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$1;

    invoke-direct {v1}, Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$1;-><init>()V

    invoke-virtual {v0, p1, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    const p1, 0x7f11004f

    .line 38
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v1, Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$2;

    invoke-direct {v1}, Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$2;-><init>()V

    invoke-virtual {v0, p1, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 45
    invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->create()Landroidx/appcompat/app/AlertDialog;

    move-result-object p1

    .line 47
    new-instance v0, Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$3;

    move-object v2, v0

    move-object v3, p1

    move-object v5, p0

    move v6, p2

    move v7, p3

    move-object v8, p4

    invoke-direct/range {v2 .. v8}, Llt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$3;-><init>(Landroidx/appcompat/app/AlertDialog;Landroid/widget/EditText;Landroid/content/Context;FFLlt/noframe/gpsfarmguide/dialogs/NumberChooserDialog$OnNumberSelectListener;)V

    invoke-virtual {p1, v0}, Landroid/app/Dialog;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V

    .line 84
    invoke-virtual {p1}, Landroid/app/Dialog;->show()V

    return-void
.end method
